<!DOCTYPE HTML>
<html lang="en">
<head>
  <meta name="copyright" content=
  "Copyright (c) IBM Corporation and others 2000, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.">
  <meta charset="utf-8">
  <script src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
  <link rel="STYLESHEET" href="../book.css" type="text/css">
  <title>Ant Templates</title>
</head>
<body>
  <h1>Ant Templates</h1>
  <p>The following preferences can be changed on the <a class="command-link" href=
  'javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.ant.ui.TemplatesPreferencePage)")'>
  <img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="command link"><strong>Ant &gt; Editor &gt;
  Templates</strong></a> preference page.</p>
  <p>You can use the Templates preferences to create, edit, remove, import existing templates, restore removed
  templates and revert to the default templates. The preview pane enables you to see what your new or edited template
  will look like before applying your changes.</p>
  <table class="border" style="width:80%">
    <thead>
      <tr>
        <th style="width:25%">Option</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>New...</td>
        <td>Allows you to add a new template.</td>
      </tr>
      <tr>
        <td>Edit...</td>
        <td>Allows you to edit an existing template. Changes to a template can be viewed in the Preview Pane before
        they are applied.</td>
      </tr>
      <tr>
        <td>Remove</td>
        <td>Allows you to remove and existing template. A removed template can be restored by using Restore Removed or
        by re-importing the template (if it was imported initially).</td>
      </tr>
      <tr>
        <td>Restore Removed</td>
        <td>Allows you to add a new classpath variable to the Ant Home and / or Global sections.</td>
      </tr>
      <tr>
        <td>Revert to Default</td>
        <td>Allows you to revert changes to a selected template back to their factory defaults</td>
      </tr>
      <tr>
        <td>Import...</td>
        <td>Allows you to import template(s) from a selected <code>*.xml</code> file.</td>
      </tr>
      <tr>
        <td>Export...</td>
        <td>Allows you to export the currently selected set of templates to an <code>xml</code> file in the local
        filesystem.</td>
      </tr>
    </tbody>
  </table>
  <h3 class="related">Related Concepts</h3><a href="../concepts/concepts-antsupport.htm">Ant support</a>
  <h3 class="related">Related Reference</h3><a href="ref-anteditor.htm">Ant Editor preferences</a><br>
  <a href="../reference/ref-antprefs.htm">General Ant preferences</a><br>
  <a href="../reference/ref-anteditorprefs.htm">Ant editor preferences</a><br>
  <a href="../reference/ref-antformatter.htm">Ant formatter preferences</a><br>
  <a href="../reference/ref-antruntimeprefs.htm">Ant runtime preferences</a>
</body>
</html>
